//
//  NYPwdCondition.m
//  NYTYY
//
//  Created by MinLison on 2017/12/12.
//  Copyright © 2017年 NYtyy. All rights reserved.
//

#import "NYPwdCondition.h"

@implementation NYPwdCondition
- (BOOL)check:(NSString *)string
{
        self.currentCheckString = string.copy;
        if (NULLString(string))
        {
                return NO;
        }
        return YES;
}

- (NSString *)violationResultString
{
        return self.currentCheckString;
}
#pragma mark - Allow violation

- (BOOL)shouldAllowViolation
{
        return YES;
}
@end
